import { setupLayouts } from 'virtual:generated-layouts'

export default setupLayouts([
  {
    path: '/',
    redirect: '/home',
    meta: {
      layout: 'default',
    },
    children: [
      {
        path: 'home',
        component: () => import('@/views/home/index.vue'),
      },
    ],
  },
  {
    path: '/admin',
    redirect: '/admin/home',
    meta: {
      layout: 'admin',
    },
    children: [
      {
        path: 'home',
        component: () => import('@/views/home/index.vue'),
      },
    ],
  },
])
